<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<script src="/lib/jquery-3.3.1.min.js" type="text/javascript" ></script>
	<script src="/js2/common/include.js" type="text/javascript"></script>
</head>
<body>

<!--basicinfo header -->
<!--<div class="layui-layout layui-layout-admin" th:fragment="basicHeader" >-->
	<div class="layui-header" th:fragment="basicHeader" >
		<div class="layui-logo" style="font-size:30px">APCOS</div>
		<ul class="layui-nav layui-layout-right" style="margin-right:50px">
			<li class="layui-nav-item"><a id="userName" href="javascript:;" th:text="'欢迎您'"></a>
				<dl class="layui-nav-child"> <!-- 二级菜单 -->
					<!--                <dd><a onclick="modifyPassowrd()">修改密码</a></dd>-->
					<!--                <dd><a href="/home/logout" style='text-decoration: none'>退出</a></dd>-->
				</dl>
			</li>
		</ul>
	</div>

<!-- basicinfo left -->
<div class="layui-side layui-bg-black" th:fragment="basicLeft" >
	<div class="layui-side-scroll">
		<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
		<ul class="layui-nav layui-nav-tree"  lay-filter="test" id="nav">
			<li class='layui-nav-item layui-nav-itemed'>
				<a class='' href='javascript:;' style='text-decoration: none'>门禁管理</a>
				<dl class='layui-nav-child'>
					<dd th:class="${activeUri=='basic'?'layui-this':''}"><a id='1' href='javascript:;' data-url='/basic' class='site-demo-active' style='text-decoration: none'>基础信息</a></dd>
					<dd th:class="${activeUri=='device'?'layui-this':''}"><a id='2' href='/accessDevice/returnPage' data-url='/' class='site-demo-active' style='text-decoration: none'>门禁设备</a></dd>
					<dd th:class="${activeUri=='record'?'layui-this':''}"><a id='3' href='/basic/recordInfo' data-url='/' class='site-demo-active' style='text-decoration: none'>门禁记录</a></dd>
					<dd th:class="${activeUri=='subscribe'?'layui-this':''}"><a id='4' href='/subscribe/returnPage' data-url='/' class='site-demo-active' style='text-decoration: none'>设备订阅</a></dd>
				</dl>
			</li>
		</ul>
	</div>
</div>

<!-- basicinfo header -->
<div class="header-sub-nav" th:fragment="basicInfoHeader"  >
	<ul class="layui-nav" lay-filter="" style="background-color: white;" >
		<li class="layui-nav-item layui-this" th:class="${activeUri=='block'?'layui-nav-item layui-this':'layui-nav-item'}" >
			<a style="color: #0C0C0C;" href="/basic/info">楼栋信息</a>
		</li>
		<li class="layui-nav-item" th:class="${activeUri=='room'?'layui-nav-item layui-this':'layui-nav-item'}">
			<a style="color: #0C0C0C;" href="/basic/roomInfo">房间信息</a>
		</li>
		<li class="layui-nav-item" th:class="${activeUri=='user'?'layui-nav-item layui-this':'layui-nav-item'}">
			<a style="color: #0C0C0C;" href="/basic/userInfo">人员信息</a>
		</li>
		<li class="layui-nav-item" th:class="${activeUri=='type'?'layui-nav-item layui-this':'layui-nav-item'}">
			<a style="color: #0C0C0C;" href="/basic/typeInfo">访客访问方式</a>
		</li>
		<li class="layui-nav-item" th:class="${activeUri=='sysinfo'?'layui-nav-item layui-this':'layui-nav-item'}">
			<a style="color: #0C0C0C;" href="/basic/sysInfo">系统信息</a>
		</li>
	</ul>
</div>


</body>
</html>
